package com.ruoyi.employees.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.time.LocalDateTime;
import java.util.Date;

/**
 * 人员管理对象 employees
 * 
 * @author ruoyi
 * @date 2025-02-25
 */
public class Employees extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 员工id */
    private Long id;

    /** 员工姓名 */
    @Excel(name = "姓名")
    private String name;

    /** 员工工号 */
    @Excel(name = "工号")
    private String employeeId;

    /** 性别 */
    @Excel(name = "性别")
    private String gender;

    /** 部门名称 */
    @Excel(name = "部门")
    private String department;

    /** 角色 */
    @Excel(name = "角色")
    private String role;

    /** 负责人 */
    @Excel(name = "负责人")
    private Integer isManager;

    /** 固定电话 */
    @Excel(name = "固定电话")
    private String fixedPhone;

    /** 手机号 */
    @Excel(name = "手机号")
    private String mobilePhone;

    /** 职务 */
    @Excel(name = "职务")
    private String position;

    /** 创建时间 */
    @Excel(name = "创建时间")
    private Date createTime;

    public void setCreateTime(Date createTime)
    {
        this.createTime = createTime;
    }

    public Date getCreateTime()
    {
        return createTime;
    }
    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setEmployeeId(String employeeId) 
    {
        this.employeeId = employeeId;
    }

    public String getEmployeeId() 
    {
        return employeeId;
    }
    public void setGender(String gender) 
    {
        this.gender = gender;
    }

    public String getGender() 
    {
        return gender;
    }
    public void setDepartment(String department) 
    {
        this.department = department;
    }

    public String getDepartment() 
    {
        return department;
    }
    public void setRole(String role) 
    {
        this.role = role;
    }

    public String getRole() 
    {
        return role;
    }
    public void setIsManager(Integer isManager) 
    {
        this.isManager = isManager;
    }

    public Integer getIsManager() 
    {
        return isManager;
    }
    public void setFixedPhone(String fixedPhone) 
    {
        this.fixedPhone = fixedPhone;
    }

    public String getFixedPhone() 
    {
        return fixedPhone;
    }
    public void setMobilePhone(String mobilePhone) 
    {
        this.mobilePhone = mobilePhone;
    }

    public String getMobilePhone() 
    {
        return mobilePhone;
    }
    public void setPosition(String position) 
    {
        this.position = position;
    }

    public String getPosition() 
    {
        return position;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("employeeId", getEmployeeId())
            .append("gender", getGender())
            .append("department", getDepartment())
            .append("role", getRole())
            .append("isManager", getIsManager())
            .append("fixedPhone", getFixedPhone())
            .append("mobilePhone", getMobilePhone())
            .append("position", getPosition())
            .append("createTime", getCreateTime())
            .toString();
    }
}
